from pathlib import Path


def readFile():
    # filepath = Path(__file__).parent / "test_file.txt"
    filepath = Path(__file__).parent / "range函数.m4a"
    print("filepath=", filepath)
    with open(filepath, "r", encoding="utf-8") as f:
        all_lines = f.readlines()
        each_line = f.readline()
        print("each_line=", each_line)
        print("all_lines=", all_lines)


readFile()
